﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using service;

namespace Trathat
{
    public partial class SanphamTrathat : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string s = Request.QueryString["loai"];
            if (s == "1")
                lblOrder.Text = "Sản phẩm > Trà cụ";
            else
                lblOrder.Text = "Sản phẩm > Trà";
            RadListView1.DataSource = new SanphamTrathatService().getListSanphamByLoai(Convert.ToInt64(s));
            RadListView1.DataBind();
        }
    }
}